package com.seabook.store.purchase.dao;

import java.util.List;

import com.seabook.store.purchase.domain.Order;
import com.seabook.store.purchase.domain.Order.Status;

public interface OrderDao {

    Order insertOrder(Order order);

    List<Order> getOrderByUserId(int userId);

    Order getOrder(int orderId);

    void updateOrderStatus(int orderId, Status paid);

}
